package com.akol.seret.webApiEntities.Responses;

import com.akol.seret.webApiEntities.MessageType;

import java.util.ArrayList;

/**
 * Created by Gad on 18/02/2015.
 */
public abstract class AbstractResponseMessage implements ResponseMessage {
    public MessageType Requested;
    public ArrayList<Object> SearchResult;

    public AbstractResponseMessage(MessageType requested,
                                   ArrayList<Object> searchResult) {
        super();
        Requested = requested;
        SearchResult = searchResult;
    }

    public MessageType getRequested() {
        return Requested;
    }

    public ArrayList<Object> getSearchResult() {
        return SearchResult;
    }
}
